Ghost command added for testing purposes, modifications to try and make economy hook work