Change the mode of the compile script
Add the compile implementation with supporting scripts