splitting up bash scripts, adding in start script fix