trap added into start script