working verssion, all changes move towards deploy only supported on osx