finalized script, removed unnecesary dirs