With my keyboard you leave the keys blank in the Logitech software, then bind them using binder plug in, not sure if your KB is supported with that.
From there you can bind it several way, one being the init. Another is to call a script, that way you can have a few different setups for your keys, or you can bind them in you job luas also.
For my KB it's alias g510_m1g1 exec yada.txt or you can do alias g510_m1g1 input /ja yada yada
You will need to check the binder help info @ windower to find your exact formatting and if that KB is supported.
You will need the binder plugin to alias those keys though. The stuff the guy above is talking about is for normal KBs function keys, which you can also do for even more fun buttons.