Fixed some issues with system/router.php where it was adding a directory that shouldn't be there