Implemented system command, fixed bug