trap, exit function, root check and a modeline