Trying to write a simple script, not sure which commands