if i had a remote shell this would be easier