Updated for Symfony 2.5 and added parameters to dist file