moved setup variables to make it a single script