Updated script because one of the flags was specific to osx I believe.