added resource building script