move changetime to plugin