replaced root user with webconfnig for creating config file
removed debug statements
Merge pull request #3 from mahmoodkhan/master

fixed file permission bug and removed debug statements