Changed the structure of the directory
Completed script