Fixed a potential problem with composer installation
Added an OSX specific execution of .osx