improvements on the launch script