fixed wrong interpretation of return code
normalize query: filter out multiline comments
build resource queries
worker injection (experimental)