convert to bash script #phuckit