Removing install dependencies on end and updating template file