fixed script path issue