add exclude option to enable excluding certain scripts