Move version script to resources