Changed task to use options properly and to only process src once