#32 Fixed removing generated script in FF

#16, #17 Implementing clasterization algorithm