change clocking script, remove object in door

Changed the clockinscript so that it is created at the beginning of the
wave simulation. Discovered and fixed bug that the pathfinding broke during the
script
known issues:

*returning null file when when restarting wave and trying to put a file on
a conveyor