getlayer - Script command