updated deployment strategy and running via npm