Updating loader to use cycles