Refactor to version variable