Fixed script. Removed redundant libs.