Script custom-keyboard-shortcut not executing

Using bash <full-path-to-script> worked. Also note that i had to restart KDE completely for changes to take effect when i was editing the same shortcut again and again.