Import the template script
Integrate original gsop script