Fixed standalone execution and added activity template (previously
missed)