some improvements for making a local deployment