Chnage space handling in fly_engine script