Move script to application layout so they are at the end of the files