REDBOX-244 #comment Fixed condition issue and added tomcat home creation.