reorder/refine requirements.
simplifying requirements for base image