Added Mac's script