implemented scrap command both in selenese and java