fixing the loading order issues hopefully, also giving the ability for a
manifest