Fix scripts regex