fixed variable for script_dir