Truncate state file before write
Add environment variable support to remote commands
Merge pull request #77 from smarterclayton/not_truncating_create

State bug and support env vars on install