moved external variables to external file. added submit files