Fixed perl command and added necessary include