move grub command line changes to start of script