permission changes and modified submission script to clean-up some thangs.