Failed to execute script pegasus

@Agent_kapo same issue discussed here, please check the thread to obtain the solution