Scripting interactive e-learning modules