Implemented environment-based macros.
Fixed 1 second delay for child processes.