Edited the directory path and removed extrainous lines of code