Remove unneeded file
Refactor main script