load scripts towards end of file