improved deployment scripts