More features to script. Might be unstable :/