fixed bug on mini script and ran it