added cli testing. further improving import functions