Added requirements and made some tweaks.