Added 'system' option to the create/delete scripts and changed 'page' to 'app'.