Refactored options.

With new grunt tasks option.