Added background script for key command