edited processor.sh