improve 'deploy' task