the method 'onTick' is completed
some scripts are added to file 'index'