fixed cap deploy scripts for staging & asset precompile