refactored applescript function calling, added icon, added move/merge commands