Move completion_script into commands module