added possible to switch branch for debug