refactors per Steves suggestions, added profile modification
Merge pull request #2 from dgartner/mod_profile

refactors per Steves suggestions, added profile modification