bootscript fixes