Transform the script for clusterlib
remove profile
Make launcher for main