Added symlink resolution. Script can now be placed wherever you want.