Fix problems and create solutions those arises while handling source

Fix problems and create solutions those arises while handling source codes between different test environments and also in production.