Fix missing call to add profile

* the bug was introduced when the return profile feature
  was added
Merge pull request #4 from sharoonthomas/develop

Fix missing call to add profile