Create purgeapp.bash