using cat since non interactive shells do not like echo stdout, removed code that loads some script_dir stuff