Tried the script in the pre script but, it seems not to work.