updated application controller and bash file