start() function loads scripts instead of in the constructor