Added quark_agent as script

RM9115
Merge pull request #288 from asadoughi/master

Added quark_agent as script