Refactored script. Added minifieed version