more powerful crop script