fix to script to use proper file path