Update composer template and translation, fix issues

This PR addresses:
- #567 
- #1182
- #1150
- Add new environment scripts for realtime