Fixed addFile, addScript and ahkExec bugs