script with regexp moved to other location