fix start up hook and dont ask for set local variables