Set executable flag correctly - fixed typo