Mac version with updated manipulation and file loading