added resource script