.sh_functions: fixing some stuff