Execution completed but script not executed