redirect flows properly when creating custom course