Added common functions and a small template script