move constants at the top of the script