OSX compatibility because it cant just use the stupid ass commands without exec, and I think some commenting