added some checks to forcecommands template