fixed script exists