fixes issue #3 by checking correct conditions
Merge branch 'master' of ssh://git@github.com/ColdTrick/profile_manager.git