Removed some debug statements and the profile persistence