put scripts at the end