fixed script execution error