fix deploy script for asset pipeline