Changes to create_application_tables script