small change to use php rename function