Fixed access rights and cleanup  unnecessary files in working directory