fixing up startupscript.sh