Fix passing options and add flexibility for component path
Merge pull request #18 from maksimr/master

Fix passing options and remove hardcoded scripts directory