fixes and adds system commands