Yeah my guess was that mac needed the code saved in the most recent IDE to get it working. Anyways it works fine now!
Thanks a lot for the detailed advice, I will give it a shot!:)