ps_functions.sh #5