Add loadProfile method

Easier to set platform to developer mode.