Adds handler and proc for cliscript