working on script file issues