removed unneeded dependencies
removed write-file
cleanup