Adding fix for bug where you cannot use it outside the directory