loads tasks and compiles properly