Fixed bug where I hard coded directory to local system.