bug fix for awe_submit.pl, changing varibale replacement mechanism; merge awe_submit.pl and awe_submit_auth.pl