Fixed issue with the keys command not being available through both scriptname formats. (With and without extension)