Updated flow of release controller. Some minor fixes and improvements