fix regex for move scripts