rest/crud for contacts
main script fix