Implemented 'mod' command and got it to work with 'import' and 'rebuild'