Added code regions and profile create activity