GPLv3 compatibility and added mv and mkdir.