New Mach Script

Should work better and is cleaner