Small fix for profile activation script