Fix script tag to only commit config files which exist