Exclude tmp directory
Make widget variable name generic