added GH capabilities + added options parsing