better version with mac os x dock
Merge pull request #1 from abhiklodh/os_x_dock_testing

better version with mac os x dock