fixed before_deploy and execute scanner instead of command