use absolute path instead of argument in empty_project.sh
generalize directories emptied
use prettier function syntax