launcher script fixes