Add resources; gif cycle from index