Fixes some paths and makes it easier deployable