working on pre_start script