added backend_port to allow for this to be set on script.
updated app metadata as well cause it's nor working from LB metadata
further changes to try to get this to pick the right port.
removed the db_mysql stuff since not n use and causing erros.