Optimizing Cakefile