Remove common pathes in scripts + some configuration support