using ruby tag when possible
added license headers