Fix some paths and configurations