initial working version of manual stage triggering