Added minimized version of the script