Fixed problem with TICK, but now only works when compiled.