Script to get at which frame some units are created