ignore public files and setInterval for animation