Added LomLib to build script and got rid of useless function.