modified build scripts added new task writeProperties