Added --lsresourceopts option