Add compatibility profile for Mac systems
Rename variables for clarity