changed structure to able to embed the scripts into the binary later