Removed write version & used ENV var