Fixed file path
Improved script