Fixed it not chmodding if the file name and command shared a name