Original version of freeze script
2011-2012 version of freeze script