Initial commit, script not fully completed yet