Fixed a bug with being in the wrong dir