slightly more portable launch script