Added strictArgs feature and fixed define feature

Added strictArgs to make arguments optional or required, fixed define
feature where it was suppose to be optional but if left out it casued
the plugin to crash.