added branch handling (schedule branches always last)
drwxr-xr-x - ir