added osicat dependency, added mktemp