moved down file to only set when not restarting