if the generated scripts dir does not exist, create it.