some tweaks that made this work in edX Devstack. more to do