added flags to branch shortcut